﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace INSTA.Concepts.ExtensionMethods
{
    internal class Program
    {
        private static void Main(string[] args)
        {
        }

        public static void CallMethod_NormalSyntax()
        {
            string s = "xfg,sdmlfkgjdmflgkjdmflgkdlf'";

            Console.WriteLine(StringHelper.ContainsA(s));
        }

        public static void CallMethod_ExtensionMethodSyntax()
        {
            string s = "xfg,sdmlfkgjdmflgkjdmflgkdlf'";

            Console.WriteLine(s.ContainsA());
        }



        public static void CallMethod_NormalSyntax1()
        {
            string s = "xfg,sdmlfkgjdmflgkjdmflgkdlf'";

            Console.WriteLine(StringHelper.ContainsString(s, "a"));
        }


        public static void CallMethod_ExtensionMethodSyntax1()
        {
            string s = "xfg,sdmlfkgjdmflgkjdmflgkdlf'";

            Console.WriteLine(s.ContainsString("a"));
        }
    }

}
